public class Test {
    public static void main(String[] args) {
        Solution s1=new Solution();
        int [] arr=new int[]{1,0,1,1};
        System.out.println(s1.containsNearbyDuplicate(arr, 1));
        String [] arr1=new String[]{"i","love","leetcode","i","love","coding"};
        s1.topKFrequent(arr1,1);
        System.out.println("aa");
    }
}
